/* --------------------------------------------------------
 * Copyright (c) aeky , Inc.  All rights reserved.
 * --------------------------------------------------------
 */
package com.aeky.factory.factoryMethod;

import com.aeky.factory.baseData.product.Pizza;
import com.aeky.factory.baseData.product.PizzaB;

/**
 * B PizzaStore
 * 
 * @author aeky
 */
public class PizzaStoreB extends BasePizzaStore {

    /*
     * 
     * @see
     * com.aeky.factory.factoryMethod.BasePizzaStore#createPizza(java.lang.String
     * )
     */
    @Override
    protected Pizza createPizza(String type) {
        if ("pizzaB".equals(type)) {
            return new PizzaB();
        }
        return null;
    }

}
